package com.sl.biz.modular.ai.dao.domain.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("ai_chat_history")
@Entity(name = "ai_chat_history")
public class AiChatHistoryDO extends CommonOrgEntity {

    private String aiId;

    private String aiChatId;

    private String userId;

    private String role;

    @Lob
    @Column(length = 65_535)
    private String content;

    private Date startTime;

}
